[WIP] mini markdown cheatsheet by comment form #1809
Closed
+117
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Description
Adds a hidden section near the comment input for same window markdown cheatsheet. Clicking the info button opens and closes the section.
Still deciding whether to put the editor guide (/p/editor_guide) or markdown guide (https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet) in a scroll view or have a more condensed markdown cheatsheet designed with a link to the editor guide or markdown cheatsheet if the user needs a more detailed guide.
Update:
When
textarea
is in focus, the markdown hints appear—just like Slack.When you click on the Markdown button to the right of image upload, the section below with more markdown details shows. (more shortcuts can be added)
Not sure whether to use one or both.
The cheatsheet pushes the comment section down a little, but can also be made to appear on top of the first comment.
Related Tickets & Documents
Resolves #49
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Added to documentation?